package com.platform.qujia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.platform.qujia.pojo.GradeQrSetting;
import com.platform.qujia.pojo.UserVirtualGradeRel;
import com.platform.qujia.pojo.vo.GradeQrSettingVO;
import org.springframework.web.bind.annotation.RequestParam;

import java.time.LocalDateTime;

/**
 * @date 2024/1/16
 */
public interface IGradeQrSettingService extends IService<GradeQrSetting> {

    GradeQrSetting querySetting(GradeQrSetting setting, LocalDateTime time);

    GradeQrSettingVO querySettingVO(GradeQrSetting setting, LocalDateTime time);

    UserVirtualGradeRel joinGrade(Long userId, Long enterpriseId, String gradeCode, Long version);

}
